﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Detail_Major.ascx.cs"
    Inherits="TuyenDungViecLam.User_control.Detail_Major" %>
<div class="art-Block">
    <div class="art-Block-tl">
    </div>
    <div class="art-Block-tr">
    </div>
    <div class="art-Block-bl">
    </div>
    <div class="art-Block-br">
    </div>
    <div class="art-Block-tc">
    </div>
    <div class="art-Block-bc">
    </div>
    <div class="art-Block-cl">
    </div>
    <div class="art-Block-cr">
    </div>
    <div class="art-Block-cc">
    </div>
    <div class="art-Block-body">
        <div class="art-BlockHeader">
            <div class="art-header-tag-icon">
                <div class="t">
                    Các việc tìm thấy</div>
            </div>
        </div>
        <div class="art-BlockContent" style="padding-left: 0px; padding-right: 0px">
            <asp:ScriptManager ID="ScriptManager1" runat="server">
            </asp:ScriptManager>
            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                <ContentTemplate>
                    <asp:GridView ID="dscongviec" runat="server" AutoGenerateColumns="False" Width="100%"
                        CellPadding="0" ForeColor="#333333" GridLines="None" AllowPaging="True" OnPageIndexChanging="dscongviec_PageIndexChanging"
                        PageSize="10" onrowcommand="dscongviec_RowCommand">
                        <RowStyle CssClass="RowsGridMain" BackColor="white" ForeColor="#333333" />
                        <Columns>
                            <asp:TemplateField HeaderText="Chức danh" SortExpression="ChucNang">
                                <ItemTemplate>
                                    <a href='<%# "ChiTietCongViec.aspx?Mcv=" + Eval("MaCongViec") +"&Mct=" + Eval("MaCongTy") %>'
                                        onmousemove="BBTOnline_ShowTooltip('TootTip.aspx?Mcv=<%# Eval("MaCongViec") %>')"
                                        onmouseout="BBTOnline_HideTooltip()">
                                        <%# Eval("ChucDanh")%></a>
                                    <asp:Label ID="lbmacongviec" runat="server" Text='<%# Eval("MaCongViec") %>' Visible="false"></asp:Label>
                                </ItemTemplate>
                                <ItemStyle VerticalAlign="Top" />
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="Công ty" SortExpression="TenCongTy">
                                <ItemTemplate>
                                    <a href='<%# "DanhSachCongViec.aspx?Mct=" + Eval("MaCongTy") %>'>
                                        <%# Eval("TenCongTy") %></a>
                                </ItemTemplate>
                                <ItemStyle Width="200px" />
                                <ItemStyle VerticalAlign="Top" />
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="Địa điểm" SortExpression="NoiLamViec">
                                <ItemTemplate>
                                    <a href='<%# "DanhSachCongViec.aspx?Mnlv=" + Eval("MaNoiLamViec") %>'>
                                        <%# Eval("NoiLamViec") %></a>
                                </ItemTemplate>
                                <ItemStyle Width="100px" />
                                <ItemStyle VerticalAlign="Top" />
                            </asp:TemplateField>
                            <asp:BoundField HeaderText="Ngày đăng" DataField="NgayDang" DataFormatString="{0:dd/MM/yyyy}"
                                SortExpression="NgayDang">
                                <ItemStyle Width="100px" />
                                <ItemStyle VerticalAlign="Top" />
                            </asp:BoundField>
                            <asp:BoundField HeaderText="Lương" DataField="MucLuong" SortExpression="MucLuong">
                                <ItemStyle Width="100px" />
                                <ItemStyle VerticalAlign="Top" />
                            </asp:BoundField>
                            <asp:TemplateField>
                                <HeaderTemplate>
                                    <asp:ImageButton ID="ImageButton1" CommandName="chon" ImageUrl="~/images/Check-icon.png" OnClientClick="if(!confirm('Chọn tất cả ?')) return false;" runat="server" />
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:CheckBox ID="cbchon" runat="server" />
                                </ItemTemplate>
                                <ItemStyle HorizontalAlign="Center" />
                                <ItemStyle Width="50px" />
                            </asp:TemplateField>
                        </Columns>
                        <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" CssClass="PagingGrid" />
                        <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                        <HeaderStyle CssClass="HeaderGrid" />
                        <AlternatingRowStyle CssClass="RowsGrid" />
                    </asp:GridView>
                </ContentTemplate>
            </asp:UpdatePanel>
        </div>
    </div>
</div>
<div style="float: right; margin-right: 50px; padding-bottom: 10px; padding-top: 10px">
    <asp:Button ID="Button3" runat="server" Text="Lưu việc làm" CssClass="button" Style="display: inline"
        OnClick="Button3_Click" OnClientClick="if(!confirm('Bạn không muốn lưu công việc này không ?')) return false;" /></div>
<br />
<%--BackColor="#990000" Font-Bold="True" ForeColor="White"--%>